package com.data.modules.wrt.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 对讲记录
 * @Author: data-boot
 * @Date:   2023-09-04
 * @Version: V1.0
 */
@Data
@TableName("wrt_call_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wrt_call_log对象", description="对讲记录")
public class WrtCallLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**小区编号*/
	@Excel(name = "小区编号", width = 15)
    @ApiModelProperty(value = "小区编号")
    private String uuid;
	/**呼叫方编号*/
	@Excel(name = "呼叫方编号", width = 15)
    @ApiModelProperty(value = "呼叫方编号")
    private String sourceSn;
	/**呼叫方名 称*/
	@Excel(name = "呼叫方名 称", width = 15)
    @ApiModelProperty(value = "呼叫方名称")
    private String sourceName;
	/**呼叫方设备类型*/
	@Excel(name = "呼叫方设备类型", width = 15, dicCode = "wrt_device_type")
	@Dict(dicCode = "wrt_device_type")
    @ApiModelProperty(value = "呼叫方设备类型")
    private Integer sourceType;
	/**接听方编 号*/
	@Excel(name = "接听方编 号", width = 15)
    @ApiModelProperty(value = "接听方编号")
    private String targetSn;
	/**接听方名称*/
	@Excel(name = "接听方名称", width = 15)
    @ApiModelProperty(value = "接听方名称")
    private String targetName;
	/**接听方设备类型*/
	@Excel(name = "接听方设备类型", width = 15, dicCode = "wrt_device_type")
	@Dict(dicCode = "wrt_device_type")
    @ApiModelProperty(value = "接听方设备类型")
    private Integer targetType;
	/**开始时间*/
	@Excel(name = "开始时间", width = 15)
    @ApiModelProperty(value = "开始时间")
    private String beginTime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15)
    @ApiModelProperty(value = "结束时间")
    private String endTime;
	/**是否开锁*/
	@Excel(name = "是否开锁", width = 15, dicCode = "wrt_unlock")
	@Dict(dicCode = "wrt_unlock")
    @ApiModelProperty(value = "是否开锁")
    private Integer isUnlock;
}
